
#include <stdio.h>

enum operator
{
	add,
	sub,
	mul,
	div
};

int main()
{
	int type = 0;
	enum operator oper;
	printf("0--add,1--sub\n");
	printf("2--mul,3--div\n");
	printf("please input your choice\n");
	
	scanf("%d",&type);
	oper = type;

	switch(oper)
	{
	case add:
		printf("add\n");
		break;
	case sub:
		printf("sub\n");
		break;
	case mul:
		printf("mul\n");
		break;
	case div:
		printf("div\n");
		break;

	}







}
